home *** CD-ROM | disk | FTP | other *** search
- ; DEMO4.MAC, Macro demo for DANCAD3D v2.5x release version
-
- ; Copyright (c) 1990, Daniel H. Hudgins, All rights reserved.
- ; Other macro files come with the registered user outfit.
- ; Write to: DANCAD3D, 466 Diamond St., San Francisco, CA 94114, USA.
-
- ; Begin set up
-
- INIT ; clear DANCAD3D's workspace
- WORLD 240 ; set world scale to inches
-
- ; End Set up
-
- TEXT_MODE
- ECHO ┌─────────────────────────────────────────────────────────────────────────────┐
- ECHO │ DEMO4.MAC DEMONSTRATION MACRO FOR DANCAD3D v2.5x OR LATER. │
- ECHO └─────────────────────────────────────────────────────────────────────────────┘
-
- LOCATE 1 5
- ECHO This DEMO macro loads the file HOOKUP1.2D into the workspace and shows you
- ECHO an example drawing. The example drawing, as well as showing what a 2D drawing
- ECHO made with DANCAD3D might look like, shows one way to hook up DANCAM and DANPLOT
- ECHO to manufacture components and other goods. The drawing shows how to connect
- ECHO TTL signal compatible stepper driver modules and solid state relays directly to
- ECHO the parallel port of your computer (n.b. I am not responsible for any damage
- ECHO that might result from making these connections to your computer, the drawing
- ECHO is only a suggestion of some connections that have been found useful to the
- ECHO author in his use of DANCAM and DANPLOT.)
- LOCATE 1 15
- ECHO Other hook-up drawings and schematics for inexpensive stepper motor
- ECHO translator and driver modules you can build are included in the registered user
- ECHO outfit available from the author. Send a stamped self addressed legal size
- ECHO envelope for the current product price list (if you live outside the U.S. send
- ECHO five first class international postal vouchers in place of stamps (you get the
- ECHO postal vouchers from your post office).)
-
-
- LOAD 2D HOOKUP1.2D
-
- LOCATE 5 25
- ECHO Press [Return] to continue. %%
- WAIT
-
- GRAPH B&W
- # 0 DISPLAY 0 0 0 -1.000E+18 120 1 0 -0.3
- LOCATE 5 25
- ECHO Press [Return] to continue. %%
- WAIT
-
- TEXT_MODE
- LOCATE 1 1
- ECHO After this macro returns you to the main menu, select [D]raw from the main
- ECHO menu and then select [D]raw lines from the drawing editor root menu. You can
- ECHO move the cursor over a point you want to zoom in on and press the [+] key to
- ECHO zoom in. When the dotted border is small enough press the [*] key to redraw
- ECHO the screen.
- LOCATE 1 7
- ECHO The screen will take a minute or so to redraw depending on how fast your
- ECHO computer is. Normally drawings are not one element so the [U]pdate list could
- ECHO be used to turn off the lettering elements to make the screen re-draw faster,
- ECHO but there was not enough room on the shareware program disks to include all the
- ECHO elements for this drawing.
- LOCATE 1 13
- ECHO You can use this drawing to experiment with the commands in the [H]ardcopy
- ECHO sub-menu to see how DANCAD3D will work with your printers and plotters.
- ECHO Remember that the printer and plotter drivers are in the sub-directory
- ECHO \DRIVERS\ (except the ADOBE_PS.LZR and LINOTYPE.LZR drivers which are in the
- ECHO sub-directory \DC25\.)
-
- LOCATE 5 25
- ECHO Press [Return] to continue. %%
- WAIT
-
- ; END MACRO FILE DEMO4.MAC
-
-
-